std::filesystem::path::format

您所在的位置:网站首页 cpp filesystem path std::filesystem::path::format

std::filesystem::path::format

2024-07-12 05:45| 来源: 网络整理| 查看: 265

 C++ Compiler support Freestanding and hosted Language Standard library Standard library headers Named requirements Feature test macros (C++20) Language support library Concepts library (C++20) Metaprogramming library (C++11) Diagnostics library General utilities library Strings library Containers library Iterators library Ranges library (C++20) Algorithms library Numerics library Localizations library Input/output library Filesystem library (C++17) Regular expressions library (C++11) Concurrency support library (C++11) Technical specifications Symbols index External libraries [edit] Filesystem library Classes filesystem::path filesystem::filesystem_error filesystem::directory_entry filesystem::directory_iterator filesystem::recursive_directory_iterator     filesystem::file_status filesystem::space_info filesystem::file_type filesystem::perms filesystem::perm_options filesystem::copy_options filesystem::directory_options filesystem::file_time_type Functions filesystem::absolute filesystem::canonicalfilesystem::weakly_canonical filesystem::relativefilesystem::proximate filesystem::copy filesystem::copy_file filesystem::copy_symlink filesystem::create_directoryfilesystem::create_directories filesystem::create_hard_link filesystem::create_symlinkfilesystem::create_directory_symlink filesystem::current_path filesystem::exists filesystem::equivalent filesystem::file_size filesystem::hard_link_count filesystem::last_write_time filesystem::permissions filesystem::read_symlink filesystem::removefilesystem::remove_all filesystem::rename filesystem::resize_file filesystem::space filesystem::statusfilesystem::symlink_status filesystem::temp_directory_path File types filesystem::is_block_file filesystem::is_character_file filesystem::is_directory filesystem::is_empty filesystem::status_known filesystem::is_fifo filesystem::is_other filesystem::is_regular_file filesystem::is_socket filesystem::is_symlink [edit] std::filesystem::path Constants path::native_formatpath::generic_formatpath::auto_format Member functions path::path path::~path path::operator= path::assign path::appendpath::operator/= path::concatpath::operator+= path::clear path::make_preferred path::remove_filename path::replace_filename path::replace_extension     path::swap path::compare path::beginpath::end path::c_strpath::nativepath::operator string_type path::stringpath::u8stringpath::u16stringpath::u32stringpath::wstring path::generic_stringpath::generic_u8stringpath::generic_u16stringpath::generic_u32stringpath::generic_wstring path::lexically_normalpath::lexically_relativepath::lexically_proximate Path decomposition path::root_name path::root_directory path::root_path path::relative_path path::parent_path path::filename path::stem path::extension path::empty path::has_root_pathpath::has_root_namepath::has_root_directorypath::has_relative_pathpath::has_parent_pathpath::has_filenamepath::has_stempath::has_extension path::is_absolutepath::is_relative Non-member functions operator==operator!=operator=operator(until C++20)(until C++20)(until C++20)(until C++20)(until C++20)(C++20) operator/ operator swap(std::filesystem::path) hash_value u8path Helper Classes hash formatter(C++26) [edit]  enum format {

    native_format,     generic_format,     auto_format

}; (since C++17)

Determines how string representations of pathnames are interpreted by the constructors of std::filesystem::path that accept strings.

[edit] Constants Name Explanation native_format Native pathname format generic_format Generic pathname format auto_format Implementation-defined pathname format, auto-detected where possible [edit] Notes

On POSIX systems, there is no difference between native and generic format.

[edit] See also (constructor) constructs a path (public member function) [edit]


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3